

import request from '@/router/axios'

const prefix = '/rca/swcksystemcleanview'

export function fetchList(query) {
  return request({
    url: prefix + '/page',
    method: 'get',
    params: query
  })
}

export function preview(query) {
  return request({
    url: prefix + '/preview',
    method: 'get',
    params: query
  })
}

export function dataExport(query) {
  return request({
    url: prefix+'/export',
    method: 'get',
    responseType: 'blob',
    params: query
  })
}
